File out = new File(basedir, 'out.log')
assert out.exists()
String log = out.getText()

assert log.contains( "[Sample.doSomethingStaticaly]   value = one" )
assert log.contains( "[Sample.doSomethingStaticaly]   count = 1" )
assert log.contains( "[Sample.doSomethingStaticaly]   return true" )

assert log.contains( "[Sample.doSomething]   value = two" )
assert log.contains( "[Sample.doSomething]   count = 2" )
assert log.contains( "[Sample.doSomething]   return true" )

return true;